﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Payment.Paypal.Models
{
	public class Settings
	{
		public Settings()
		{
			PaypalCheckoutUrl = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout";
			ApiVersion = "1.0";
			ConfirmationViewName = "paypalconfirmation";
			CanceledViewName = "paymentcanceled";
			ConfirmationViewName = "postsale";
			ConfirmationRouteName = "PaypalExpressConfirmation";
			FinalizedRouteName = "PaypalExpressPaymentAccepted";
			CheckoutExpressServiceEndPointUrl = "https://api.sandbox.paypal.com/2.0/";
		}

		public virtual string PaypalCheckoutUrl { get; set; }
		public virtual string ApiCertLocation { get; set; }
		public virtual string ApiCertPassword { get; set; }
		public virtual string ApiUserName { get; set; }
		public virtual string ApiUserPassword { get; set; }
		public virtual string ApiVersion { get; set; }
		public virtual string PageStyle { get; set; }
		public string ConfirmationViewName { get; set; }
		public string CanceledViewName { get; set; }
		public string FinalizedViewName { get; set; }
		public string ConfirmationRouteName { get; set; }
		public string FinalizedRouteName { get; set; }
		public string CheckoutExpressServiceEndPointUrl { get; set; }
	}
}
